package com.tanhua.dubbo.api;

import com.tanhua.model.db.User;

/**
 * @auther : 白月尘
 * @date : 14:36  2021/10/16
 */
public interface UserApi {
    User findByMobile(String mobile);

    long insert(User user);

    void setPhone(long userId,String phone);

    User findById(Long valueOf);

    void update(User user);
}
